package org.afk.sisy.gui.swing;

import java.awt.event.*;

public class NewProjectButtonActionListener implements ActionListener
{

	private final SisyGuiApp guiComponents;
	private final PreferencesWrapper preferences;

	public NewProjectButtonActionListener(final SisyGuiApp guiComponents, final PreferencesWrapper preferences)
	{
		this.guiComponents = guiComponents;
		this.preferences = preferences;
	}

	@Override
	public void actionPerformed(final ActionEvent e)
	{
		new NewJobGuiComponents(preferences, guiComponents).showJobDialog();
	}

}
